﻿@model KacincisinProject.ViewModels.SinavViewModels
@{
    ViewBag.Title = "SinavOlustur";
}
<br>
@using (Html.BeginForm("SinavOlustur", "Sinav", FormMethod.Post, new { @class = "form-horizontal" }))
{
    
    
      
    <div class="control-group">
        <label class="control-label" for="SinavTipi">Sınav Tipi:</label>
        <div class="controls">  
           @Html.DropDownListFor(model => model.SinavTipId, (SelectList)ViewBag.SinavTipleri, "Seçiniz") @Html.ValidationMessageFor(model => model.SinavTipId)
        </div>
    </div>
    
      
    <div class="control-group">
        <label class="control-label" for="SinavAdi">Sınav Adı:</label>
        <div class="controls">  
            @Html.TextBoxFor(model=>model.SinavAdi) @Html.ValidationMessageFor(model=>model.SinavAdi)
        </div>
    </div>
    
      
    <div class="control-group">
        <label class="control-label" for="SinavSüresi">Sınav Süresi:</label>
        <div class="controls">  
            @Html.TextBoxFor(model=>model.SinavSuresi) @Html.ValidationMessageFor(model=>model.SinavSuresi)
        </div>
    </div>
    
      
    <div class="control-group">
        <label class="control-label" for="SinavBaslangıcTarihi">Sınav Başlangıç Tarihi:</label>
        <div class="controls">  
            @Html.TextBoxFor(model=>model.SinavBaslangiçTarihi) @Html.ValidationMessageFor(model=>model.SinavBaslangiçTarihi)
        </div>
    </div>
    
    
 
       
        <div class="control-group">
            <div class="controls">
                <button type="submit" class="btn">Sign in</button>
            </div>
        </div>
    
}